from django.test import TestCase

# Create your tests here.
import django
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "auto_rent_api.settings.dev")

django.setup()

validated_data = {'mobile': '18283884', 'password': '1234'}
validated_data['username'] = validated_data.pop('mobile')
print(validated_data)